//
//  BBTKViewController.m
//  BBTestKit
//
//  Created by aron on 07/03/2020.
//  Copyright (c) 2020 aron. All rights reserved.
//

#import "BBTKViewController.h"
#import "BBTKDetailViewController.h"

@interface BBTKViewController ()

@end

@implementation BBTKViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self bbtk_addActionWithCate:@"" title:@"空的" callback:^{
            
    }];
    
    [self bbtk_addActionWithCate:@"类别1" title:@"测试" callback:^{
            
    }];
    
    [self bbtk_addActionWithCate:@"类别1" title:@"测试2" callback:^{
            
    }];
    
    [self bbtk_addActionWithCate:@"类别1" title:@"测试3" callback:^{
            
    }];
	
//    // 执行block
//    [self bbtk_addActionWithTitle:@"Exec Block" callback:^{
//        NSLog(@"Test");
//    }];
//    [self bbtk_addActionWithTitle:@"Exec Block" detailText:@"description" callback:^{
//        NSLog(@"Test");
//    }];
//
//    // 跳转到详情页
//    [self bbtk_addActionWithDestViewControllClass:BBTKDetailViewController.class];
//    [self bbtk_addActionWithDetailText:@"跳转VC description" destViewControllClass:BBTKDetailViewController.class];
//    [self bbtk_addActionWithTitle:@"跳转VC" destViewControllClass:BBTKDetailViewController.class];
//    [self bbtk_addActionWithTitle:@"跳转VC" detailText:@"跳转VC description" destViewControllClass:BBTKDetailViewController.class];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
